.label-list-item {
    width: 292px;
    margin: 10px 10px;
    border: 1px solid #dcdee0;
    border-radius: 5px;
    overflow: hidden;
}

.template-content {
    position: relative;
    padding: 15px;
    background-color: #f9f9f9;

    .isdefault {
        position: absolute;
        top: 10px;
        right: -30px;
        width: 100px;
        height: 30px;
        line-height: 30px;
        color: #fff;
        text-align: center;
        transform: rotate(45deg);
        background-color: #ff3131;
    }
}

.template-view {
    width: 260px;
    height: 140px;
    margin-bottom: 15px;
    overflow: hidden;
    background: #fff;
}

.template-name {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;

    .label-list-name-ellipsis {
        width: 210px;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .custom {
        display: inline-block;
        padding: 0 3px;
        background-color: #e9f4ff;
        color: #4ba3f5;
        border: 1px solid #4ba3f5;

        &.user {
            background-color: #effff7;
            color: #41c685;
            border-color: #41c685;
        }
    }
}

.template-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #9e9e9e;
}

.template-handle {
    display: flex;
    justify-content: flex-end;
    height: 36px;
    padding: 5px 0;
    text-align: right;
    background-color: #fff;

    .template-handle-item {
        display: inline-block;
        width: 25%;
        margin: 0;
        padding: 3px 0;
        text-align: center;
        color: #1765d9;
        border-right: 1px solid #f3f3f3;
        cursor: pointer;

        &[disabled] {
            color: #999999;
            cursor: not-allowed;
        }

        &:last-child {
            border: none;
        }
    }
}